package com.u21.a0903_onlinemusic.entity;

public class Capital {

    private String capName;
    private int imageId;

    public Capital(String capName, int imageId) {
        super();
        this.capName = capName;
        this.imageId = imageId;
    }

    public String getCapName() {
        return capName;
    }

    public void setCapName(String capName) {
        this.capName = capName;
    }

    public int getImageId() {
        return imageId;
    }

    public void setImageId(int imageId) {
        this.imageId = imageId;
    }


    @Override
    public String toString() {
        return "MyBean [iconName=" + capName + ", imageId=" + imageId
                + ", getIconName()=" + getCapName() + ", getImageId()="
                + getImageId() + ", getClass()=" + getClass() + ", hashCode()="
                + hashCode() + ", toString()=" + super.toString() + "]";
    }
}



